package com.bestcem.xm.openplatform.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "ds_openplatform_apidocument")
public class OpenplatformApidocument extends BaseEntity2 {
    @TableId(value = "id")
    private String id;

    /**
     * 文档名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 锚点名
     */
    @TableField(value = "tag")
    private String tag;

    /**
     * 文档内容
     */
    @TableField(value = "richtext")
    private String richtext;

    /**
     * 单词索引
     */
    @TableField(value = "words")
    private String words;

    /**
     * 标题层级
     */
    @TableField(value = "usage")
    private Integer usage;

    /**
     * 父节点id
     */
    @TableField(value = "parent_id")
    private String parentId;

    /**
     * 序号
     */
    @TableField(value = "listorder")
    private Integer listorder;
}